import { createRouter, createWebHashHistory } from 'vue-router'

const routes = [
  {
    path: '/',
    component: () => import('@/views/home/index.vue')
  },
  {
    path: '/01',
    component: () => import('@/views/01/index.vue'),
    meta: {
      title: '基础案例'
    }
  }
]


const router = createRouter({
  history: createWebHashHistory(),
  routes
})

export default router